package com.newcoin.xgb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.newcoin.xgb.entity.XgbGrabOrdersRecord;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;

@Component
public interface GrabOrdersRecordMapper extends BaseMapper<XgbGrabOrdersRecord> {

    BigDecimal getTodayGradAmount(@Param("userId") Long userId, @Param("start") String start, @Param("end") String end);
}
